package com.company.oa.workflow.entity.leave;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("wf_leave")
public class Leave {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private String processInstanceId;
    
    private Long employeeId;
    
    private String employeeName;
    
    private Long departmentId;
    
    private String departmentName;
    
    private Integer leaveType;
    
    private Date startTime;
    
    private Date endTime;
    
    private BigDecimal days;
    
    private String reason;
    
    private String attachmentPath;
    
    private Integer status;
    
    private String currentApprover;
    
    private Long creatorId;
    
    private Date createTime;
    
    private Date updateTime;
} 